package com.lichuang.fruitvarietysm.user;

import com.lichuang.fruitvarietysm.user.util.MD5Util;

public class TestMain {

    public static void main(String[] args) {
        String fileName = "HelloWorld.java";
        int lastIndexOf = fileName.lastIndexOf(".");
        System.out.println(lastIndexOf);
        String suffix = fileName.substring(lastIndexOf);
        System.out.println(suffix);
    }
}
